package com.cn.lf.controller;

import com.cn.lf.service.OrderMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by liufeng on 2018/6/13
 */
@RestController
public class OrderController {
    @Autowired
    private OrderMemberService orderMemberService;

    @GetMapping("/getOrderAll")
    public List<String> getOrderAll(){
        return orderMemberService.getOrderAll();
    }

    @GetMapping("/getOrderZuul")
    public String getOrderZuul(){
        return "order getOrderZuul ==";
    }
}
